{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
}}

<PkiPageHeader @backend={{this.model.parentModel}} />

<Page::PkiKeyList
  @keyModels={{this.model.keyModels}}
  @mountPoint={{this.mountPoint}}
  @backend={{this.model.parentModel.id}}
  @canImportKey={{(get (get this.model.keyModels 0) "canImportKey")}}
  @canGenerateKey={{(get (get this.model.keyModels 0) "canGenerateKey")}}
  @canRead={{(get (get this.model.keyModels 0) "canRead")}}
  @canEdit={{(get (get this.model.keyModels 0) "canEdit")}}
  @hasConfig={{this.model.hasConfig}}
/>